<template>
  <div>

    <van-cell>
      <div class="flex-between col-333333">
        <div class="m-r-10" style="width: 26%">审核状态</div>
        <div class="line-text-out text-right" style="width: 68%">
          审核不通过
        </div>
      </div>
    </van-cell>
    <van-cell>
      <div class="flex-between col-333333">
        <div class="m-r-10" style="width: 26%">审核意见</div>
        <div class="line-text-out text-right" style="width: 68%">
         {{obj.auditOpinion}}
        </div>
      </div>
    </van-cell>
    <van-cell>
      <div class="flex-between col-333333">
        <div class="m-r-10" style="width: 40%">审核人</div>
        <div class="line-text-out text-right" style="width: 68%">
          {{obj.auditPerson}}
        </div>
      </div>
    </van-cell>
    <van-cell style="border:none">
      <div class="flex-between col-333333">
        <div class="m-r-10" style="width: 40%">审核时间</div>
        <div class="line-text-out text-right" style="width: 68%">
          {{obj.auditTime}}
        </div>
      </div>
    </van-cell>

      <div class="spacing" />
      <div class="add-btn">
        <van-button
          block
          type="info"
          color="#37B5B5"
          style="width: 85%; margin: auto; margin-top: 50px"
          native-type="submit"
          size="large"
          @click="goInfo"
          >重新提交</van-button
        >
      </div>
  </div>
</template>
<script>
import {
  Dialog,
  Toast,
  Icon,
  Cell,
  Button
} from 'vant'
import { getValue, clearValue, setValue } from '@/utils/auth'
import { subjectInfoExpertData, semenRecordDetail } from '@/api/record'

export default {
  components: {
    [Icon.name]: Icon,
    [Toast.name]: Toast,
    [Cell.name]: Cell,
    [Button.name]: Button,
    [Dialog.Component.name]: Dialog.Component,
    [Dialog.name]: Dialog
  },
  data() {
    return {
      loading: false,
      obj: {
        auditOpinion: '',
        auditPerson: '',
        auditTime: ''
      }
    }
  },

  created() {
    subjectInfoExpertData(getValue('loginUserId')).then(res => {
      this.obj = res.data
    })
  },
  methods: {
    goInfo() {
      this.$bridge.call('editExpertInfo')
    }
  }
}
</script>
<style lang="scss" scoped>
.van-cell {
  line-height: 40px;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 2em;
}
.m-r-10 {
  margin-right: 10px;
}
.line-text-out {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.col-1b1b {
  color: #1b1b1b;
}
.col-8686 {
  color: #868686;
}
::v-deep .van-cell {
  border-bottom: 1px solid #dbd8d8;
}
.imgstyle::after {
  content: "";
  width: 100px;
}
.footerImg {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #37b5b5;
  > img {
    width: 22px;
    height: 22px;
  }
}
.shop .bottom {
  position: fixed;
  bottom: 0;
  height: 68px;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  padding: 8px 10px 8px 14px;
  box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bthStyle {
  width: 56px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #2871fe;
}
.addbtn{
    width: 50px;
    height: 24px;
    font-size: 13px;
    padding: 0;
    margin-top: 2px;
}
.add-btn {
  padding-bottom: 20px;
}
</style>
